package com.mmall.common;

/**
 * @author zhangxiaolin@zhonhajt.com
 * @Title: 常量类
 * @Package com.mmall.common
 * @Description:
 * @date 2018/9/5 15:55
 */
public class Const {

    /**当前登录用户**/
    public static final String CURRENT_USER = "currentUser";
    public static final String USERNAME = "username";
    public static final String EMAIL = "email";
    
    public interface Cart {
        int CHECKED  = 1; //购物车选中
        int UN_CHECKED = 0; //购物车未选中
    }

    /**用户角色**/
    public interface Role {
        //普通用户
        int ROLE_CUSTOMER = 0;
        //管理员
        int ROLE_ADMIN = 1;
    }
    
    
}
